//
//  BaseNavigationController.h
//  jizhiyunduan
//
//  Created by 鞠超 on 16/4/13.
//  Copyright © 2016年 JC. All rights reserved.
//


/*
通用的UINavigationBar
    
Useage:
 
把当前的viewController 继承 BaseNavigationController
 */

#import <UIKit/UIKit.h>
#import "Toolkit.h"

@interface BaseNavigationController : UIViewController
{
    UIView *_topView;//导航背景图
    UILabel *_lblTitle;//导航标题
    UIButton *_btnLeft;
    UIButton *_btnRight;
    UIImageView *_imgLeft;
    UIImageView *_imgRight;
    UILabel *_lblLeft;
    UILabel *_lblRight;
    
    NSInteger _orginY;
}

@property(nonatomic)NSString *navtitle;

- (void)setBarTitle:(NSString *)strTitle;

- (void)addLeftButton:(NSString *)strImage;

- (void)addRightButton:(NSString *)strImage;

- (void)addLeftbuttontitle:(NSString *)strName;

- (void)addRightbuttontitle:(NSString *)strName;

- (void)clickLeftButton:(UIButton *)sender;

- (void)clickRightButton:(UIButton *)sender;

//设置左右按钮文字颜色
- (void)setBarTitleColor:(UIColor *)color;

- (void)addStarToNavigtionBar;

@end
